THE PENDULUM GAME

A pendulum consists of a sphere S attached to a rod.

The range of S is a (larger, virtual) sphere V. When in rest mode S is at the South pole of V.

[15 points] Place a cube C on the equator of V.

[45 points] Use the arrow keys (as in the Roll-a-Ball tutorial) to lift up S (when continuously holding down) and let go when the key is no longer pressed. (I think this will be the tricky part and you will use a script for that)

The goal is to lift S so that when let go it *can* hit C.

[25 points] Display score and text (attempts vs hits).

[15 points] When C is hit twice, make it inactive. Game Over.